
	
/****** Object:  Stored Procedure [dbo].tblExchangeRateUpdate    Script Date: Wednesday, October 05, 2011 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sptblExchangeRateUpdate]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sptblExchangeRateUpdate]
GO

	
	

	
/******************************************************************************
**		File: 
**		Name: [dbo].sptblExchangeRateUpdate
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 05/10/2011 10:54:35
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE [dbo].sptblExchangeRateUpdate
	@ID uniqueidentifier, 
	@BuyCCY varchar(3), 
	@BuyRate decimal(10, 2), 
	@SellCCY varchar(3), 
	@SellRate decimal(10, 2), 
	@FromFileID uniqueidentifier, 
	@CreatedDate datetime, 
	@CreatedBy varchar(7) 
AS

UPDATE [dbo].[tblExchangeRate] SET
	[BuyCCY] = @BuyCCY,
	[BuyRate] = @BuyRate,
	[SellCCY] = @SellCCY,
	[SellRate] = @SellRate,
	[FromFileID] = @FromFileID,
	[CreatedDate] = @CreatedDate,
	[CreatedBy] = @CreatedBy
WHERE
	[ID] = @ID

GO
